import { post, get, put } from '@/http'

// 用户登录
export const login = params => post('/music/login', params)
// 用户登出
export const logout = () => post('/music/logout')
// 用户注册
export const register = params => post('/common/user-register', params)
// 获取会话信息自动登录
export const getSession = () => get('/music/user-infor')
// 升级
export const addExperience = params => put('/music/add-experience', params)